package com.zxp.springboot.hello.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor @AllArgsConstructor
public class Employee implements Serializable {

	private Long id;
	private String lastName;
	private String email;
	private BigDecimal salary;
	private Integer deptId;
	private Date createTime;
	private Date updateTime;


	@Override
	public String toString() {
		return "Employee [id=" + id + ", lastName=" + lastName + ", email=" + email + ", salary=" + salary + ", deptId="
				+ deptId + "]";
	}

}
